<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>测试页面</title>
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css"
	href="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/themes/icon.css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/jquery.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/static/jquery-easyui-1.3.3/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript">
	var url;
	function openTab(text, url, iconCls) {
		if ($("#tabs").tabs("exists", text)) {
			$("#tabs").tabs("select", text);
		} else {
			var content = "<iframe frameborder=0 scrolling='auto' style='width:100%;height:100%' src='${pageContext.request.contextPath}/page/"
					+ url + "'></iframe>";
			$("#tabs").tabs("add", {
				title : text,
				iconCls : iconCls,
				closable : true,
				content : content
			});
		}
	}
</script>
<div class="easyui-tabs" fit="true" border="false" id="tabs">
	<div title="干扰分析" data-options="iconCls:'icon-cellcompare'" style="padding:10px">
		    <a href="javascript:openTab('实时干扰告警查询','/page_interference/InterferenceQuery.jsp','icon-bank')" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-bank'" style="width: 170px;">实时干扰告警查询</a>
 			<a href="javascript:openTab('历史干扰告警查询','/page_interference/InterferenceQueryHistory.jsp','icon-notebooks')" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-notebooks'" style="width: 170px;">历史干扰告警查询</a>
 			<c:if test="${currentMemberShip.group.name=='管理员' }">
		    <a href="javascript:openTab('干扰分析设置','/page_interference/InterferenceControl.jsp','icon-notebook')" class="easyui-linkbutton" data-options="plain:true,iconCls:'iicon-notebook'" style="width: 170px;">干扰分析设置</a>
		    <%--<a href="javascript:openTab('基站位置定位','/page_interference/BSStation.jsp','icon-plane')" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-plane'" style="width: 150px;">基站位置定位</a>--%>
		    <a href="javascript:openTab('监测点频谱建模','/page_interference/CreateModel.jsp','icon-bookmark')" class="easyui-linkbutton" data-options="plain:true,iconCls:'icon-bookmark'" style="width: 170px;">监测点频谱建模</a>
			
			</c:if>
		</div>
</div>
</body>
</html>